package com.cinemtl.beans;

import java.util.HashMap;

public class ShoppingCart {

	private static HashMap<Integer,CartOrder> orders = new HashMap<Integer,CartOrder>();

	public static HashMap<Integer,CartOrder> getOrders() {
		return orders;
	}

	public static void addOrder(CartOrder order) {
		orders.put(order.getId(), order);
	}

	public static void removeOrder(int idOrder) {
		orders.remove(idOrder);
	}

}
